<div class="popup"  id="answer_pop" style="display: none">
    <div class="popupBody pop-answer">
        <div class="popupDiv1">
            <a class="fullScreen" href="javascript:;"
               onclick="$('#answer_pop').children('.pop-answer').toggleClass('is-full-screen')">
                <span class="nofull-screen-data">
                      <img src='../public/images/popUp_big.png' class="mr5 vmiddle fleft">全屏化
                </span>
                <span class="full-screen-data">
                     <img src='../public/images/scale.jpg' class="mr5 vmiddle fleft">返回
                </span>
            </a>
            <b class="answer-modify-hide">发布博文</b>
            <b class="answer-modify-show">修改博文</b>
            <i onclick="$('#answer_pop').toggle()"><img src="../public/images/close.jpg"></i>
        </div>
        <div class="answer-list">
            <dl>
                <dd class="require full-screen-data" style="line-height:46px;">博文标题</dd>
                <dt>
                    <input type="text" class="input input-dark" id="title" style="width: 100%;font-size:18px;"
                           placeholder="请输入博文标题" maxlength="80">
                </dt>
            </dl>
            <div class="mb10">
                <ul class="iblock" id="selectedCovers"></ul>
                <script id="selectedCovers_tpl" type="text/html">
                    <%each list as arr i%>
                    <li class="covers-item" data-id="<%arr.id%>">
                        <img class="covers-img" src="<%=imgPath(arr.url)%>" alt="">
                        <a href="javascript:;" class="del" data-index="<%i%>"
                           onclick="BASE.POPUP.removeCover(this)">删除</a>
                    </li>
                    <%/each%>
                </script>
                <span class="add-icon" onclick="BASE.POPUP.uploadCoverPrev(this)">封面</span>
                <input type="file" class="hide" multiple onchange="BASE.POPUP.uploadCover(this)">
            </div>
            <dl>
                <dd class="require full-screen-data">博文内容</dd>
                <dt class="edtior-wrap">
                    <div id="editorContentAnswer"></div>
                </dt>
            </dl>
            <div>
                <span class="yellow pointer" onclick="$(this).next().trigger('click')">
                    <img src="../public/images/popUp_order.png"  class="vmiddle">
                    上传附件
                </span>
                <input type="file" class="hide" onchange="BASE.BLOGCOMMON.uploadProjectfile(this,BASE.BLOGCOMMON.uploadProjectfileAfter)">
            </div>
            <div class="font13 clo6 ml20 hide" id="fileUrlLink">
                <span>附件</span>
                <a href="javascript:;" class="font13 ml20 red" onclick="BASE.BLOGCOMMON.removeFile(this,BASE.BLOGCOMMON.removeFileAfter)">删除</a>
            </div>
            <div class="mt5">
               <span class="ml20">
                  <span class="blue">附件链接</span>
                    <input type="text" id="fileLink" class="input ml5" style="width: 380px;" placeholder="请输入网盘链接">
                    <input type="text" id="filePas" class="input ml5"  style="width:80px;" placeholder="提取码">
                </span>
            </div>
            <!--文章收费start-->
            <dl class="mt10">
                <dd class="nrequire">
                    文章收费
                </dd>
                <dt class="clo6">
                    <label for="content_price_type1" class="ml20">
                        <input name="content-price-type" type="radio"
                               onclick="$('#content-unfree').show();"
                               value="1" id="content_price_type1" class="radio"> 收费
                    </label>
                    <label for="content_price_type2" class="ml20">
                        <input name="content-price-type" type="radio" checked
                               onclick="$('#content-unfree').hide();"
                               value="2" id="content_price_type2" class="radio"> 免费
                    </label>

                </dt>
            </dl>
            <dl id="content-unfree" style="display: none" >
                <dd class="nrequire">
                    文章金额
                </dd>
                 <dt class="clo6">
                    <input type="number" class="input" id="contentPrice" style="width: 190px;">
                    <label for="content-pay-type1" class="ml20">
                        <input name="content-pay-type" type="radio" value="rmb"
                               checked id="content-pay-type1" class="radio"> 人民币
                    </label>
                    <label for="content-pay-type2" class="ml20">
                        <input name="content-pay-type" type="radio"
                               value="gold" id="content-pay-type2" class="radio"> 金币
                    </label>
                </dt>
            </dl>
            <!--文章收费end-->

            <!--附件收费start-->
            <dl id="blog_file_show">
                <dd class="nrequire">
                    附件收费
                </dd>
                <dt class="clo6">
                    <label for="attach_price_type1" class="ml20">
                        <input name="attach-price-type" type="radio"
                               onclick="$('#attach_unfree').show();$('#attach_free').hide();"
                               value="1" id="attach_price_type1" class="radio"> 收费
                    </label>
                    <label for="attach_price_type2" class="ml20">
                        <input name="attach-price-type" type="radio" checked
                               onclick="$('#attach_free').show();$('#attach_unfree').hide();"
                               value="2" id="attach_price_type2" class="radio"> 免费
                    </label>

                </dt>
            </dl>
            <dl id="attach_unfree" style="display: none">
                <dd class="nrequire">
                    附件金额
                </dd>
                <dt class="clo6">
                    <input type="number" class="input" id="attachPrice" style="width: 190px;">
                    <label for="attach-pay-type1" class="ml20">
                        <input name="attach-pay-type" type="radio" value="rmb"
                               checked id="attach-pay-type1" class="radio"> 人民币
                    </label>
                    <label for="attach-pay-type2" class="ml20">
                        <input name="attach-pay-type" type="radio"
                               value="gold" id="attach-pay-type2" class="radio"> 金币
                    </label>
                </dt>
            </dl>
            <dl id="attach_free">
                <dd class="nrequire">
                    附件下载
                </dd>
                <dt class="clo6">
                    <label for="down_type" class="ml20">
                        <input name="down-type" type="checkbox" value="1"  id="down_type" class="radio"> 仅回复可见
                    </label>
                </dt>
            </dl>
            <!--附件收费end-->

            <dl>
                <dd class="require">
                    所属领域
                </dd>
                <dt>
                    <select class="select clo6 nofull-screen-data" id="interestData"
                            style="width: 190px;"
                            onchange="BASE.POPUP.selectInterestPrarent($('#interestData option:selected').val())"></select>
                    <script id="interestData_tpl" type="text/html">
                        <option value="">所属领域</option>
                        <%each data as arr i%>
                        <option value="<%arr.id%>" data-parentid="<%arr.parentId%>"><%arr.name%></option>
                        <%/each%>
                    </script>
                <div class="full-screen-data" id="interestData_btn"></div>
                <script id="interestData_btn_tpl" type="text/html">
                    <%each data as arr i%>
                    <button id="parent_<%arr.id%>" class="answer-btn mr10 btnStyleS"
                            onclick="BASE.POPUP.selectInterestPrarent('<%arr.id%>')"
                            data-id="<%arr.id%>"><%arr.name%></button>
                    <%/each%>
                </script>
                </dt>
            </dl>
            <dl>
                <dd class="nrequire">
                    所属分类
                </dd>
                <dt>
                    <select  class="select clo6 nofull-screen-data" id="interestChildData"
                             style="width: 190px;"
                             onchange="BASE.POPUP.selectInterestChild($('#interestChildData option:selected').val())"></select>
                    <script id="interestChildData_tpl" type="text/html">
                        <option value="">所属分类</option>
                        <%each data as arr i%>
                        <option value="<%arr.id%>"><%arr.name%></option>
                        <%/each%>
                    </script>
                <div class="full-screen-data" id="interestChildData_btn"></div>
                <script id="interestChildData_btn_tpl" type="text/html">
                    <%each data as arr i%>
                    <button id="child_<%arr.id%>" class="answer-btn mr10 btnStyleS"
                            onclick="BASE.POPUP.selectInterestChild('<%arr.id%>')"
                            data-id="<%arr.id%>"><%arr.name%></button>
                    <%/each%>
                </script>
                </dt>
            </dl>
            <div class="center mt30">
                <button class="common-btn blue-change-btn answer-modify-hide"
                        onclick="BASE.BLOG.sendOrder(this)">确认发布</button>
                <button class="common-btn blue-change-btn answer-modify-show"
                        onclick="BASE.BLOGCONTENT.sureModify(this)">确认修改</button>
            </div>
        </div>
    </div>
</div>